<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="utf-8">
    <title>订单详情</title>
    <link href="css/bootstrap.css" rel="stylesheet" type="text/css">
    <link href="css/mystyle.css" rel="stylesheet" type="text/css">
    <script src="js/jquery-3.2.1.min.js"></script>
    <script src="js/bootstrap.min.js"> </script>
</head>

<%--订单备用--%>

<body>
<!-- 顶部banner -->
<div class="container">
    <div class="banner">
        <ul class="nav nav-pills topmenu">
            <li role="presentation"><a href="${pageContext.request.contextPath}/productServlet">主页</a></li>
            <li role="presentation"><a href="CommodityRegistered.jsp">用户注册</a></li>
            <li role="presentation"><a href="CommodityForgetPassword.jsp">忘记密码</a></li>
            <li role="presentation"><a href="${pageContext.request.contextPath}/feedbackServlet?demand=showAll">意见反馈</a></li>
        </ul>
    </div>
</div>

<!--订单-->
<div class="container showMove">
    <div class="row">
        <div class="col-md-12">
            <div class="container-fluid text-center">
                <table class="table table-bordered table-striped">
                    <tbody>

                    <c:forEach items="${sessionScope.ordersAllList}" var="order">
                        <tr>
                            <td colspan="7" align="left" class="bg-info"><img src="images/logo/payment_ok.JPG">商品清单</td>
                        </tr>
                        <tr>
                            <td colspan="3" >用户名：${order.user}</td>
                            <td colspan="4" >订单号：${order.id}</td>
                        </tr>
                        <tr>
                            <td colspan="3" >订购人Email：${order.email}</td>
                            <td colspan="4" >订单时间：${order.time}</td>
                        </tr>
                        <tr>
                            <td colspan="3" >发货地址：${order.address}</td>
                            <td colspan="4" >付款方式：${order.payment}</td>
                        </tr>
                        <tr>
                            <td colspan="7">付款备注：${order.message}</td>
                        </tr>
                        <tr>
                            <td colspan="7" align="right">总计：${order.sum}元</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>

<div class="footerbg center showMove">
    <p> Designed and built with all the love in the world by @mdo and @fat. Maintained by the core team with the help of our contributors.</p>
</div>

</body>
</html>

